<form action="index.php?action=login" method="post">
  <input type="text" name="user">
  <input type="password" name="pass">
  <input type="submit" value="Zaloguj">
</form>